/**
 * Copyright (c) 2018 软唐 All rights reserved.
 *
 * https://www.softtown.cn
 *
 * 版权所有，侵权必究！
 */

package com.softtown.modules.dapai.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.softtown.common.validator.group.AddGroup;
import com.softtown.common.validator.group.DefaultGroup;
import com.softtown.common.validator.group.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;
import java.util.Date;


@Data
@ApiModel(value = "城市管理")
public class CompCityDTO implements Serializable {

    /**
     * 主键
     * id
     * isNullAble:0
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 公司id
     * isNullAble:0
     */
    @ApiModelProperty(value = "公司id")
    private Long compId;

    /**
     * 省市地名
     * isNullAble:0
     */
    @ApiModelProperty(value = "省市地名")
    private String name;
    /**
     * 上级地区id
     * isNullAble:0
     */
    @ApiModelProperty(value = "上级地区id")
    private Long pid;
    /**
     * 排序
     * isNullAble:0
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;
    /**
     * 当前状态 0：停用   1：正常
     * isNullAble:0
     */
    @ApiModelProperty(value = "当前状态 0：停用   1：正常")
    private Integer	status;
}
